﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using System.Data;
using AutoBackupDatabase.ENT;

namespace AutoBackupDatabase.BLL
{
    class DEPARTMENTBLL
    {
        private DEPARTMENTDAL dal;
        public DEPARTMENTBLL()
       {
           dal = new DEPARTMENTDAL();
       }

        public List<DEPARTMENTENT> GET_DEPARTMENT_ALL()
       {
           return dal.GET_DEPARTMENT_ALL();
       }
        public bool INSERTDEPARTMENT(DEPARTMENTENT ent)
       {

           return dal.INSERTDEPARTMENT(ent);

       }
        public bool UPDATEDEPARTMENTBYDEPARTMENTID(DEPARTMENTENT ent)
       {

           return dal.UPDATEDEPARTMENTBYDEPARTMENTID(ent);

       }
        public bool DELTELEDEPARTMENTBYDEPARTMENTID(DEPARTMENTENT ent)
       {

           return dal.DELTELEDEPARTMENTBYDEPARTMENTID(ent);

       }
    }
}
